/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.ivanbiz.user;

import java.util.List;

/**
 *
 * @author User
 */
public interface UserService {
     public void saveUser(User user)throws Exception;
    public void deleteUser(User user)throws Exception;
    public void updateUser(User user)throws Exception;
    public List loadAll()throws Exception;
    public User loadById(long id)throws Exception;
    public boolean cekIsEmptyUserId(String userId) throws Exception;
    public User login(String userName, String password, long departementId) throws Exception;
    
}
